const { merge } = require("lodash");
const config = require("kcd-scripts/jest");
module.exports = merge(config, {
  moduleFileExtensions: ["js", "json", "vue"],
  testEnvironment: "jsdom",
  testPathIgnorePatterns: [
    "<rootDir>/node_modules/",
    "<rootDir>/src/__tests__/core",
    "<rootDir>/src/__tests__/components",
  ],
  transform: {
    "\\.[jt]sx?$": "babel-jest",
    "^.+\\.vue?$": "vue-jest",
  },
});
